package com.qjz.diancan.model.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Schema(description = "User对象")
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @Schema(description = "用户id")
    private Integer id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "身份")
    private String identity;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "逻辑删除")
    private Integer isDeleted;

}
